add_library(InProcessClient STATIC
  InProcessSourceKitLSPClient.swift
  LanguageServiceRegistry+staticallyKnownServices.swift)

set_target_properties(InProcessClient PROPERTIES
  INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY})

target_link_libraries(InProcessClient PUBLIC
  BuildServerIntegration
  ClangLanguageService
  Crypto
  SwiftToolsProtocols::LanguageServerProtocol
  SwiftToolsProtocols::SKLogging
  SKOptions
  SourceKitLSP
  SwiftLanguageService
  ToolchainRegistry
)

target_link_libraries(InProcessClient PRIVATE
  TSCExtensions
)
